package com.dt76.smallloanbackenduser.hystrix.lhuaw;


import com.dt76.smallloanbackenduser.pojo.lhuaw.SystemMessage;
import com.dt76.smallloanbackenduser.remote.lhuaw.SystemMessagetest;
import com.dt76.smallloanbackenduser.utils.Page;
import com.dt76.smallloanbackenduser.utils.Result;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class lhuawHystrix implements SystemMessagetest {

    @Override
    public List<SystemMessage> getAll(){return new ArrayList<>();}

    @Override
    public Page qryConditionPageAll(int pageIndex, String messageTitle, String publisher) {
        return new Page();
    }

    @Override
    public Result delSystem(int sId) {
        return new Result();
    }

    @Override
    public Result addSystem(SystemMessage systemMessage) {
        return new Result();
    }

    @Override
    public SystemMessage seeSystem(int sId) {
        return new SystemMessage();
    }

}
